#ifndef QR_H
#define QR_H

#include "vector.h"

class QR {
	public:
		QR(Matrix&, double);
		~QR();
		void calculate();
		
		void printLambda();
		void printVector();
		
		Matrix getLambda();
		Matrix getVector();
		
	private:
		double error;
		Matrix matrix;
		Matrix x;
		Matrix lambda;
};

#endif
